﻿namespace Entity.System.Entity
{
    /// <summary>
    /// 菜单表模型
    /// </summary>
    public class MenuModel
    {
        /// <summary>
        /// 菜单表id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 菜单icon
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 上级菜单id
        /// </summary>
        public string? SuperiorId { get; set; }

        /// <summary>
        /// 是否渲染
        /// </summary>
        public bool Show { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int MenuOrder { get; set; }

        /// <summary>
        /// 菜单地址
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
